package com.yh.csx.crm.dao;

import com.yh.csx.crm.po.ReportOrderStat;
import com.yh.csx.crm.po.ReportOrderStatExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportOrderStatMapper {
    int deleteByPrimaryKey(Long customerId);

    int insert(ReportOrderStat record);

    int insertSelective(ReportOrderStat record);

    ReportOrderStat selectByPrimaryKey(Long customerId);

    int updateByPrimaryKeySelective(ReportOrderStat record);

    int updateByPrimaryKey(ReportOrderStat record);

    int batchUpdateOrderStat(@Param("statList") List<ReportOrderStat> statList);

    int clearInvalidData();

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table report_order_stat
     *
     * @mbggenerated
     */
    int countByExample(ReportOrderStatExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table report_order_stat
     *
     * @mbggenerated
     */
    int deleteByExample(ReportOrderStatExample example);



    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table report_order_stat
     *
     * @mbggenerated
     */
    List<ReportOrderStat> selectByExample(ReportOrderStatExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table report_order_stat
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") ReportOrderStat record, @Param("example") ReportOrderStatExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table report_order_stat
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") ReportOrderStat record, @Param("example") ReportOrderStatExample example);




}